package com.yiren.dbaa.module.project_edit.contract;

import com.yiren.backstage.currency.entity.LightCombinationEntity;
import com.yiren.backstage.currency.entity.SingleLightEntity;
import com.yiren.backstage.currency.entity.SiteEntity;

import java.util.List;

/**
 * @author lwb
 * @date : 2022/8/24 10:34
 * @description: 单项灯光P
 */
public interface SingleLightContract {
    interface Presenter {
        /**
         * 获取所有单项灯光 西瓜
         */
        void  getSingleLightList(View view);

        /**
         * 删除单项灯光
         * @param singleLight
         */
        void  deleteSinglLight(SiteEntity site,SingleLightEntity singleLight);
    }

    interface Model {

        /**
         * 获取所有的单项灯光
         * @return
         */
        List<SingleLightEntity> getAllSingleLight();

        /**
         * 删除单项灯光
         * @param singleLight
         */
        void deleteSingleLight(SiteEntity site,SingleLightEntity singleLight);



    }

    interface View {
        /**
         * 加载单项灯光List
         */
        void loadSingleLightList(List<SingleLightEntity> singleLightList);


        /**
         * 刷新适配器
         */
        void refreshAdapter(List<SingleLightEntity> singleLightList);
    }


}
